part of my_base_lib;

class NetResponse{
  int? statusCode;
  Map<String,dynamic>? headers;
  String? body;
  Uint8List? bodyBytes;

}

/*const String baseUrlNetMind = AppConfigs.isDebug
    ? "https://userauth.protago-dev.com/"
    : "https://auth-api.netmind.ai/";
const String baseUrlAvatar = AppConfigs.isDebug
    ? "https://platform-api.protago-dev.com/"
    : "https://platform-api.protago-dev.com/";


//服务条款
const String teamsOfService =
    "https://www.avatagi.com/terms/Terms_and_conditions.html";
//隐私政策
const String privacyPolicy =
    "https://www.avatagi.com/terms/privacy_policy.html";

const String sysCode = "9f65b104";
const String emailLoginUrl = "${baseUrlNetMind}user/emailLogin";*/



class NetBusiness {



 /* //1.1.2 查询我的形象列表
  static Future<QueryMyImageListInfo?> queryMyImageList({required Object tag})async{
    NetResponse? response = await HttpUtils.doPost(queryMyImageListUrl, tag);
    String? str = response?.body;
    return (str == null) ? null : QueryMyImageListInfo.fromJson(json.decode(str));
  }

  //1.1.3 设置形象
  static Future<BaseInfo?> setImageAvatarTrain({required String imageCode,required Object tag})async{
    Map<String, String> body = {
      "imageCode": imageCode
    };
    NetResponse? response =
    await HttpUtils.doPost(setImageAvatarTrainUrl, tag, bodyParams: body);
    String? str = response?.body;
    return (str == null) ? null : BaseInfo.fromJson(json.decode(str));
  }
*/
}
